package spring.boot.admin.model;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import java.util.List;

/**
 * 为适应 easyui的分页插件，写此分页类，继承mybatis-plus中的Page
 */
public class Pages<T> extends Page<T> {

    public Pages(long current, long size) {
        super(current, size, 0L);
    }

    public List<T> getRows() {
        return getRecords();
    }

}
